/*******************************************************************************
 * FilePath    : /Software/Examples/Ble/ble_app_peripheral_AirSync/Src/BSP/adc.h
 * Version     : 1.0
 * Brief       :
 * Author      : AndrewHu
 * Company     : Shanghai MacroGiga Electronics CO.,Ltd
 * Email       : Hubinbo@macrogiga.com
 * Date        : 2021-04-21 16:04:35
 * LastEditors : AndrewHu
 * LastEditTime: 2022-02-14 14:06:56
 * Description :
 ******************************************************************************/
#ifndef __ADC_H_
#define __ADC_H_
/* Includes ------------------------------------------------------------------*/
#include <Includes.h>
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
#define DISABLE_ALL_CHANNEL 0xff
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private function ----------------------------------------------------------*/
/* extern --------------------------------------------------------------------*/

void ADC1_SingleChannel(uint8_t ADC_Channel_x);
u16 ADC1_SingleChannel_Get(uint8_t ADC_Channel_x);
u16 Get_Adc_Average(uint8_t ADC_Channel_x, uint8_t times);

#endif
